package com.neusoft.neuiotms.support.mongo.repository;

import java.util.List;

import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.data.mongodb.repository.MongoRepository;

import com.neusoft.neuiotms.support.mongo.model.LogDocument;

@ConditionalOnClass(MongoTemplate.class)
public interface LogRepository extends MongoRepository<LogDocument, String>, CustomizedLogRepository {
    List<LogDocument> findByApp(String app);
}
